public class text {
    public static void main(String[] args) {
        Cat cat =new Cat();
        cat.eat="老鼠";
        cat.run="抓老鼠";
        cat.setColor("黑色");
        cat.setName("长命");
        cat.setSex("小母猫");
        cat.setWeight(1200);
        cat.a();
        dog dog =new dog();
        dog.setName("百岁");
        dog.setColor("白色");
        dog.setWeight(1500);
        dog.setSex("小公狗");
        dog.xw="看家";
        dog.d();
        pig pig = new pig();
        pig.setName("小熊");
        pig.setColor("粉红色");
        pig.setSex("小公猪");
        pig.setWeight(18000);
        pig.xw="上树";
        pig.c();
        cxk cxk = new cxk();
        cxk.setName("坤坤");
        cxk.setColor("棕色");
        cxk.setSex("小母鸡");
        cxk.setWeight(1000);
        cxk.xw="你太美";
        cxk.d();
    }
}
